package com.shupian.mapper;

import com.shupian.domain.entity.UserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
* @author 19165
* @description 针对表【sys_user_role(用户和角色关联表)】的数据库操作Mapper
* @createDate 2022-09-15 14:33:41
* @Entity com.shupian.domain.entity.UserRole
*/
public interface UserRoleMapper extends BaseMapper<UserRole> {
    List<Long> getRoleIdsByUserId(@Param("userId") Long userId);
}




